class Player(object):
    numbers = 0  # 类属性

    def __init__(self, name, age, city):  # 初始化函数
        self.name = name  # 实例属性
        self.age = age
        self.city = city
        Player.numbers += 1

    def __str__(self):
        return self.city + self.name

    def show(self):  # 实例方法
        print("我是荣耀王者的第%d个玩家，我的名字是%s" % (Player.numbers, self.name))
